Fix key-parse problem with C-x ( ... sequences
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 3 May 2022 14:19:50 +0000 (16:19 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 3 May 2022 14:19:50 +0000 (16:19 +0200)
commit41e946f46e23756b7c732efdf3c5152fa8241dde
tree975f01e7490d4c47878161370b7d4810d8d61a4a
parenta4c96147d1875d359db8d7fda3489954046a5db8
Fix key-parse problem with C-x ( ... sequences

* lisp/keymap.el (key-parse): Move the read-kbd-macro compat code
from here...
* lisp/subr.el (kbd): ... to here.  (And fix the logic, too.)
This allows `key-parse' to have a less puzzling result while
maintaining backwards compatibility (bug#38775).
lisp/keymap.el
lisp/subr.el
test/lisp/subr-tests.el